import convolution from '../operations/convolution';

const sharpen = function (pixels, amount, canvas) {
  const operator = [0, -0.2, 0, -0.2, 1.8, -0.2, 0, -0.2, 0];

  return convolution(canvas, pixels, operator);
}

export default sharpen;
